﻿<%@ Page Title="Add Contact" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="AddContact.aspx.cs" Inherits="AddContact" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" Runat="Server">
   
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" Runat="Server">
    <article>
        <header>Enter New Contact</header>
      
        <table>
            <tr>
                <td>
                    <asp:Label ID="Label1" runat="server" Text="Name"></asp:Label>

                </td>
                <td>
                    <asp:TextBox ID="NameText" runat="server" OnTextChanged="NameText_TextChanged"></asp:TextBox>
                </td>
            </tr>
        <tr>
       <td>
           <asp:Label ID="Label4" runat="server" Text="Age"></asp:Label>
           
       </td>
       <td>
           <asp:TextBox ID="AgeText" runat="server"></asp:TextBox>
       </td>
   </tr>     
   <tr>
       <td>
           <asp:Label ID="Label2" runat="server" Text="Phone No"></asp:Label>
           
       </td>
       <td>
           <asp:TextBox ID="PhoneText" runat="server"></asp:TextBox>
       </td>
   </tr>    
             <tr>
       <td>
           <asp:Label ID="Label3" runat="server" Text="Email"></asp:Label>
           
       </td>
       <td>
           <asp:TextBox ID="EmailText" runat="server"></asp:TextBox>
       </td>
   </tr>      
     
    
      
         <tr>
       <td>
           <asp:Label ID="Label5" runat="server" Text="Location"></asp:Label>
           
       </td>
       <td>
           <asp:TextBox ID="LocationText" runat="server"></asp:TextBox>
       </td>
   </tr>     
        <tr>
       <td>
           <asp:Label ID="Label6" runat="server" Text="Gender"></asp:Label>
           
       </td>
       <td>
           <asp:DropDownList ID="GenderDDL" runat="server" Height="19px" Width="311px">
               <asp:ListItem Value="0">Select</asp:ListItem>
               <asp:ListItem Value="1">Male</asp:ListItem>
               <asp:ListItem Value="2">Female</asp:ListItem>
           </asp:DropDownList>
       </td>
   </tr>     
           <tr>
       <td>
           <asp:Label ID="Label7" runat="server" Text="Birth Day"></asp:Label>
           
       </td>
       <td>
           <asp:TextBox ID="BirthDay" runat="server"></asp:TextBox>
       </td>
   </tr>     
           
        <tr >
       <td>
         <asp:Label ID="Label8" runat="server" Text="Address"></asp:Label>
           
       </td>
       <td>
          
           <asp:TextBox ID="AddressText" runat="server" Height="56px" TextMode="MultiLine" Width="168px"></asp:TextBox>
          
       </td>
   </tr>     
         <tr >
       <td>
         <asp:Label ID="Label9" runat="server" Text="Image Upload"></asp:Label>
           
       </td>
       <td>
          
           <asp:FileUpload ID="FileUpload1" runat="server" />
          
       </td>
   </tr>     
  </table>
        <asp:Button ID="SaveBtn" runat="server" Text="Save" OnClick="SaveBtn_Click" />
        <asp:Label ID="lab_membername" runat="server" Visible="False"></asp:Label>
    </article>
</asp:Content>

